public class FaultState implements MachineState {
    @Override
    public void handleState() {
        System.out.println("农机发生故障! 需要维修");
    }
    
    @Override
    public String getStateName() {
        return "故障";
    }
}